<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>朝闻天下前台</title>
    <link rel="icon" href="/zwtx/public/images/tx.ico" type="image/x-icon" style="width: 50px;height: 50px"/>
    
<link rel="stylesheet" href="/zwtx/Public/assets_h/stylesheets/bootstrap.min.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/zwtx/Public/assets_h/stylesheets/font-awesome.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/zwtx/Public/assets_h/stylesheets/se7en-font.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/zwtx/Public/assets_h/stylesheets/style.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/zwtx/Public/assets_h/stylesheets/theme.css" media="all" rel="stylesheet" type="text/css" />



<script src="/zwtx/Public/assets_h/javascripts/jquery.min.js" type="text/javascript"></script>
<script src="/zwtx/Public/assets_h/javascripts/jquery-ui.js" type="text/javascript"></script>
<script src="/zwtx/Public/assets_h/javascripts/bootstrap.min.js" type="text/javascript"></script>
<script src="/zwtx/Public/assets_h/javascripts/modernizr.custom.js" type="text/javascript"></script>
<script src="/zwtx/Public/assets_h/javascripts/main.js" type="text/javascript"></script>

    <link href="/zwtx/Public/assets_h/stylesheets/datepicker.css" media="all" rel="stylesheet" type="text/css"/>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.bootstrap.wizard.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/fullcalendar.min.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.dataTables.min.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.easy-pie-chart.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.isotope.min.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.fancybox.pack.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/select2.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.inputmask.min.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.validate.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/bootstrap-fileupload.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/bootstrap-datepicker.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/bootstrap-timepicker.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/daterange-picker.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/date.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/jquery.sparkline.min.js" type="text/javascript"></script>
    <script src="/zwtx/Public/assets_h/javascripts/main.js" type="text/javascript"></script>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">

</head>
<body class="no-skin" style="background-color: #e8f0f1">
<div class="navbar navbar-fixed-top bg-info" style="background-color:#5bc0de">
    <div class="container-fluid top-bar">
        <div class="pull-right">
<?php if(is_array($upic)): $i = 0; $__LIST__ = $upic;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><ul class="nav navbar-nav pull-right">
                <li class="dropdown user hidden-xs"><a data-toggle="dropdown" class="dropdown-toggle" href="#">
                    <img width="34" height="34" src="/zwtx/Public/images/pic/<?php echo ($vo["pic"]); ?>">
                    <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="<?php echo U('Home/UserInfo/index');?>">
                            <i class="icon-user"></i>修改个人信息</a>
                        </li>
                        <li><a href="<?php echo U('Home/ChangePassword/index');?>">
                            <i class="icon-gear"></i>修改密码</a>
                        </li>
                        <li><a href="<?php echo U('Home/Personal/fdctindex');?>">
                            <i class="icon-envelope"></i>留言板</a>
                        </li>
                        <li><a href="<?php echo U('Home/Login/index');?>">
                            <i class="icon-signout"></i>退出登录</a>
                        </li>

                    </ul>
                </li>

            </ul><?php endforeach; endif; else: echo "" ;endif; ?>
        </div>

    </div>

</div>

<div id="wrap" style="margin-bottom: 60px;width: 100%">
    <div class="container-fluid">
        <div class="row col-md-12 col-md-offset-2 " style="margin-bottom: 5%">
            <h2 style="text-align: center;color: #56abe4; margin-bottom: 0px;padding-bottom: 0px;">
                <p class="" style="font-family: 楷体;font-weight:bold;margin-bottom: 10px;margin-top: 10px;font-size: 35px">留言板</p>
            </h2>
            <hr>
        </div>
<div class="row" style="">
    <?php if(is_array($a)): $i = 0; $__LIST__ = $a;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="col-md-10 col-md-offset-1" style="background-color:#f5f2fc ;margin-top: 3%;border-radius: 10%;border: solid 1px #02f7de">
        <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2 col-lg-offset-1 col-md-offset-1 col-xs-offset-1 col-ms-offset-1" style="text-align: center;">

            <span style="float: left;font-family: 楷体;font-size: 20px"><?php echo ($vo['code']); ?>楼</span>
            <ul style="list-style-type: none;">
                <li style="text-align: left">
                    <a href="#"><img src="/zwtx/Public/images/pic/<?php echo ($vo["pic"]); ?>"  style="border-radius:50% ; width:50px;height: 50px;" alt="空"></a>
                </li>
                <li style="text-align: left;font-family: 楷体;font-size: 30px"><?php echo ($vo['username']); ?></li>
            </ul>

        </div>
        <div class="col-lg-5 col-md-5 col-sm-5 col-xs-5 col-lg-offset-0 col-md-offset-0 col-xs-offset-0 col-ms-offset-0" style="border: solid 1px;border-radius: 5%;background-color:#ffffff ;text-align: center;margin-top: 2%;" >
            <p style="font-family: 楷体;font-size: 30px">
                <?php echo ($vo['frcomment']); ?>
            </p>
        </div>
        <div class="col-md-1">
            <a href="<?php echo U('Personal/frcommentdel');?>?frctid=<?php echo ($vo['frctid']); ?>"onClick="return confirm('确定要删除该留言吗？')" >
                <img src="/zwtx/Public/images/delete.png" width="20" height="20" style="margin-top: 50%">
            </a>
        </div>
    </div><?php endforeach; endif; else: echo "" ;endif; ?>
</div>







        <div class="row">
            <div class="col-md-5"></div>
            <div class="col-md-4">
                <a href="<?php echo U('Personal/index');?>" >
                    <img src="/zwtx/Public/images/back.png" width="40" height="40" style="text-align: center;margin-top: 5%">
                </a>
            </div>
            <div class="col-md-1">
                <a onclick="pageScroll()">
                    <img src="/zwtx/Public/images/gotop.png" width="40" height="40" style="text-align: center;margin-top: 15%">
                </a>
                <script>
                    function pageScroll(){
                        window.scrollBy(0,-100);
                        scrolldelay = setTimeout('pageScroll()',100);
                        var sTop=document.documentElement.scrollTop+document.body.scrollTop;
                        if(sTop==0) clearTimeout(scrolldelay);
                    }
                </script>
            </div>
        </div>

    </div>
</div>


</body>
</html>